/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.KhachHang_DAO;
import DTO.KhachHang_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class KhachHang_BUS {
    
    public static String Get_MaKH() throws SQLException{
        return KhachHang_DAO.Get_MaKH();
    }
    public static ArrayList<KhachHang_DTO> GetALL(){
        return KhachHang_DAO.GetALL();
    }
    public static boolean Insert(KhachHang_DTO KhachHang){
        return KhachHang_DAO.Insert(KhachHang);
    }
    public static boolean Update(KhachHang_DTO KhachHang){
        return KhachHang_DAO.Update(KhachHang);
    }
    public static boolean Delete(String MaKhachHang){
        return KhachHang_DAO.Delete(MaKhachHang);
    }
}
